@import "../../../../sass/base.scss";
:host  ::ng-deep .ant-table-placeholder{
  display: none;
}
.inspection-records{
  margin-bottom: 20px;
}
.inspection-records-modal {
  ::ng-deep .ant-modal-footer {
    position: absolute;
    top: 7px;
    right: 50px;
    border-top: none;
  }

  .inspection-records-title {
    overflow: hidden;
    font-size: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: bold;

    .inspection-records-status-success {
      color: #53cc0b;
    }

    .inspection-records-status-error {
      color: red;
    }
  }

  .inspection-records-title-no {
    float: left;
    font-weight: bold;
  }

  .inspection-records-status {
    float: right;
    font-weight: normal;
  }

  .inspection-records-detail {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #aaa;

    .inspection-records-detail-item {
      margin-bottom: 5px;
    }
  }

  .inspection-records {
    overflow: hidden;

    .inspection-records-index {
      background-color: #40a9ff;
      border-radius: 10px;
      width: 20px;
      height: 20px;
      text-align: center;
      line-height: 20px;
      color: #fff;
      font-size: 12px;
      font-weight: 400;
      margin-right: 5px;
      float: left;
    }

    .inspection-records-info {
      float: left;
      width: calc(100% - 30px);
      position: relative;

      .inspection-records-bottom {
        color: #aaa;

        .inspection-records-item {
          margin-bottom: 5px;
        }
      }

      .inspection-records-top {
        overflow: hidden;
        font-size: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: bold;

        .inspection-records-status-img {
          width: 50px;
          height: 50px;
          background-position: 0 0;
          background-size: 100% 100%;
          background-repeat: no-repeat;
          position: absolute;
          top: 0;
          right: 0;
        }

        .inspection-records-status-success-img {
          background-image: url("../../../../../assets/images/project/check_tip_pass@2x.png");
        }

        .inspection-records-status-error-img {
          background-image: url("../../../../../assets/images/project/check_tip_fail@2x.png");
        }

        &:first-child {
          padding-top: 0;
        }
      }
    }
  }
}

[nz-carousel-content] {
  text-align: center;
  height: 160px;
  line-height: 160px;
  width: 100%;
  // background: #364d79;
  // color: #fff;
  overflow: hidden;
  img{
    display: inline-block;
    background-size: cover;
    height:100% ;
    // background-position: center;
  }
}


.inspection-container {
  width: 100%;
  height: 100%;
  padding: 32px;

  .inspection-head {
    height: 70px;
    line-height: 50px;
    font-size: 14px;
    overflow: hidden;

    .head-left {
      float: left;
    }

    .head-right {
      float: right;
    }
  }

  .inspection-body {
    height: calc(100% - 70px);
    width: 100%;
    background-color: white;
    box-shadow: 0px 0px 8px #ddd;
    overflow: hidden;
    // padding-bottom: 30px;
    border-radius: 5px;

    .body {
      height: calc(100% - 50px);
      width: 100%;
    }
  }

  ::ng-deep .ant-table-thead>tr>th {
    background-color: #fff;
  }
}
.img{
  transition: all .3s;
  box-shadow: 0 0 3px #ccc;
  &:hover{
    box-shadow: 0 0 8px rgba(41, 4, 4, 0.26);
  }
}
.video{
  transition: all .3s;
  box-shadow: 0 0 3px #ccc;
  &:hover{
    box-shadow: 0 0 8px rgba(41, 4, 4, 0.26);
  }
}